#ifndef GRAPH_H
#define GRAPH_H

#include <QObject>
#include <QMap>

class Node;

class Graph : public QObject
{
public:
    Graph();

    ~Graph();

    void addNode(Node* node);
    void addNodes(QList<Node*> multiple);
    int nodeCount();
    void startGibbsMetropolis(int iterations, int burnIn = 0);
    Node* getNode(QString label);

private:
    QMap<QString, Node*> nodes;
    QMap<QString, QVector<double> > jintDistribution;
};

#endif // GRAPH_H
